package com.his.login.service;

import com.github.pagehelper.PageInfo;
import com.his.login.entity.DictDoctor;
import com.his.login.entity.DictEmployee;
import com.his.login.vo.DictDoctorVo;
import com.his.login.vo.EmpInfoVo;
import com.his.login.vo.EmployeeVo;
import com.his.login.vo.PageEmployeeVo;

import java.util.List;
import java.util.Map;

/**
 * @Author xiaoxiaoping
 * @Date 2020/2/3 16:07
 * @Version 1.0
 */
public interface EmployeeService {
    void saveEmployee(DictEmployee dictEmployee,EmployeeVo employeeVo);

    void updateEmployee(EmployeeVo employeeVo);

    List<DictEmployee> queryEmployeeByEntity(EmployeeVo employeeVo);

    PageInfo pageSelectEmployee(DictEmployee dictEmployee,PageEmployeeVo pageEmployeeVo);

    DictEmployee selectByEmpid(String empid);

    DictDoctor selectByPrimaryKey(String empId);

    void insertDictDoctor(DictDoctorVo dictDoctorVo);

    EmpInfoVo getEmpInfo(DictEmployee dictEmployee);
}
